package com.rxyl.love.petdoctor.entity;

import java.util.List;

/**
 * 疾病
 */
public class Disease {


    private int status;
    private String message;

    private DataEntity data;

    public void setStatus(int status) {
        this.status = status;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public int getStatus() {
        return status;
    }

    public String getMessage() {
        return message;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        private int total;
        private int page;
        private int page_size;
        private int page_total;

        private List<ListEntity> list;

        public void setTotal(int total) {
            this.total = total;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public void setPage_size(int page_size) {
            this.page_size = page_size;
        }

        public void setPage_total(int page_total) {
            this.page_total = page_total;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public int getTotal() {
            return total;
        }

        public int getPage() {
            return page;
        }

        public int getPage_size() {
            return page_size;
        }

        public int getPage_total() {
            return page_total;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public static class ListEntity {
            private int id;
            private String title;
            private String author;
            private String summary;
            private String thumb;
            private int up;
            private int down;
            private int created;
            private double weights;
            private String link;

            public void setId(int id) {
                this.id = id;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public void setAuthor(String author) {
                this.author = author;
            }

            public void setSummary(String summary) {
                this.summary = summary;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public void setUp(int up) {
                this.up = up;
            }

            public void setDown(int down) {
                this.down = down;
            }

            public void setCreated(int created) {
                this.created = created;
            }

            public void setWeights(double weights) {
                this.weights = weights;
            }

            public void setLink(String link) {
                this.link = link;
            }

            public int getId() {
                return id;
            }

            public String getTitle() {
                return title;
            }

            public String getAuthor() {
                return author;
            }

            public String getSummary() {
                return summary;
            }

            public String getThumb() {
                return thumb;
            }

            public int getUp() {
                return up;
            }

            public int getDown() {
                return down;
            }

            public int getCreated() {
                return created;
            }

            public double getWeights() {
                return weights;
            }

            public String getLink() {
                return link;
            }
        }
    }
}
